package StringExercise;

public class valueOf {
    public static void main(String[] args) {
        int a = 123;
        String str = String.valueOf(a);
        System.out.println(a);

        double b = 123.456;
        String str1 = String.valueOf(b);
        System.out.println(b);
    }
}
